package com.situ.springboot.service;

import com.situ.springboot.pojo.Blog;
import com.situ.springboot.pojo.query.BlogQuery;
import com.situ.springboot.util.JSONResult;
import com.situ.springboot.util.LayUITableJSONResult;

public interface IBlogService {
    LayUITableJSONResult selectByPage(BlogQuery blogQuery);

    JSONResult deleteById(Integer id);

    JSONResult add(Blog blog);

    Blog selectById(Integer id);

    JSONResult update(Blog blog);

    JSONResult deleteAll(Integer[] ids);
}
